import {request} from '../../common/request.js';
export function addExcludeParty(data) {
	return request("/cms/excludeparty/add", data, "POST")
}

export function addShiftParty(data) {
	return request("/cms/shieldparty/add", data, "POST")
}

export function deleteExcludeParty(id) {
	return request("/cms/excludeparty/delete/"+id, null, "DELTE")
}

export function deleteShiftParty(id) {
	return request("/cms/shieldparty/add"+id, null, "DELTE")
}

export function isShiftParty(data) {
	return request("/cms/shieldparty/pages", data, "GET")
}

export function isExcludeParty(data) {
	return request("/cms/excludeparty/pages", data, "GET")
}